import { getRequest,postRequest, postParamsRequest} from './requst.js'
const app = getApp();
//获取用户基本信息
export function getUserBaseInfo(){
  return new Promise((resolve, reject) => {
    let that = this;
    getRequest("/api/vip/getUserBaseInfo", {
      memberId: app.myInfo.memberId
    }).then((res) => {
      console.log(res.data.data);
      resolve({ res })
    }).catch((err) => {
      reject(err);
    });
  });
}
